package com.tedu.weibo.pojo.entity;

import lombok.*;

import java.util.Date;
// lombok 组件 需要在pom.xml文件里添加lombok依赖

//@AllArgsConstructor 全参构造器
//@NoArgsConstructor 无参构造器

//@Getter
//@Setter
//@ToString
@Data //@Data注解包含了@Getter @Setter @ToString三个注解
public class User {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Date created;


}
